Total Complexity | 83 |
Dependencies | 4 |
Dependents | 50 |
Total lines | 341 |
Lines of code | 242 |
Logical lines of code | 163 |
Comment lines | 16 |
Methods | 12 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
ajax_load_module() | 31 | 30 | 93 | |
ajax_update_addon_status() | 47 | 13 | 31 | |
ajax_update_module_setting() | 51 | 8 | 23 | |
init() | 62 | 8 | 11 | |
ajax_get_token_usage_chart_data() | 51 | 6 | 24 | |
check_and_init_module_settings() | 57 | 4 | 16 | |
check_and_init_addon_status() | 57 | 4 | 16 | |
is_pro_plan() | 70 | 3 | 6 | |
get_module_settings() | 72 | 2 | 6 | |
get_addon_status() | 72 | 2 | 6 | |
is_addon_active() | 74 | 2 | 4 | |
register_ajax_handlers() | 69 | 1 | 6 |